import { createStore, combineReducers, applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';
import * as reducers from '../reducers/reducers.js';

const combinedReducers = combineReducers(reducers)
const store = createStore(combinedReducers, composeWithDevTools(
    // window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
))

export default store
